
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" charset="UTF-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta content="telephone=no" name="format-detection" />
<title>信丰县南山寺·善行愿祈</title>

<link rel="stylesheet" href="css/style.css" />
<script src="js/jquery-1.11.1.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<script src="js/vue.min.js"></script>
<script src="js/base.js"></script>


</head>
<body>
<div class="loading fixed" style="display: none;">
  <section>
      <div class="loader loader-20">

      </div>
  </section>
</div>
<div class="main my" id="app">
  <div class="myTop">
    <img src="img/my/bgimg.png" class="fullImg">
    <div class="myinfo">
      <img src="img/default.png" class="headimg" v-if="headimg=='' || headimg=='null'">
      <img :src="headimg" class="headimg" v-else>
      <p class="nickname" v-text="nickname"></p>
    </div>
  </div>
  <div class="mynav">
    <p @click="window.location.href='./gongde.html'">
      <img src="img/my/1.png" class="fullImg">
    </p>
    <p @click="window.location.href='./xslist.html'">
      <img src="img/my/3.png" class="fullImg">
    </p>
  </div>
  <div class="fixed nav">
    <p  @click="window.location.href='./index.html'">
      <img src="img/home1.png">
      <span>首页</span>
    </p>
    <p class="active">
      <img src="img/my2.png">
      <span>我的</span>
    </p>
  </div>
</div>

<script>
  var vm;
  $(function(){
    vm = new Vue({
      el:"#app",
      data:{
        headimg:'',
        nickname:'',
        
      },
      
      mounted(){
        let that = this;
        if(getCookie('headimg') != undefined){
          that.headimg = getCookie('headimg')
        }
        if(getCookie('nickname') != undefined){
          that.nickname = getCookie('nickname')
        }

        document.onreadystatechange = function () {
            console.log(document.readyState)
            if (document.readyState == "complete") {
                $(".loading").hide();
                
            }
        }
        
      },
      
      methods:{
        
        
      }	
      
    })
  })


 
</script>
</body>
</html>
